package com.example.demo02.config;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Contact;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.info.License;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Knife4jConfig {
    @OpenAPIDefinition(
            info = @Info(
                    title = "杨竣淮的说明API文档",
                    description = "杨竣淮的说明API文档",
                    version = "1.0.0",
                    contact = @Contact(name = "2023309294杨竣淮", email = "594102259@qq.com", url = "http://localhost:8080/doc.html"),
                    license = @License(name = "Apache 2.0", url = "http://www.apache.org/licenses/LICENSE-2.0.html")
            )
    )
    @Configuration
    public class SwaggerConfig {
    }
}